package com.example.xcxhouduan.service;

import com.example.xcxhouduan.bean.Recommendations;
import com.example.xcxhouduan.bean.Restaurants;
import com.example.xcxhouduan.dao.recomMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class recomService {
    @Autowired
    private recomMapper rM;
    public List<Recommendations> recomSelect() {
        List<Recommendations> restList = rM.selectList(null);

        return restList;
    }
}
